<?php

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

$router->group([
    'prefix' => 'auth'
], function () use ($router) {
    require __DIR__.'/apis/auth.php';
});

$router->group([
    'prefix' => 'questions',
], function () use ($router) {
    require __DIR__.'/apis/questions.php';
});

$router->group([
    'prefix' => 'types',
], function () use ($router) {
    require __DIR__.'/apis/types.php';
});

$router->group([
    'prefix' => 'check',
], function () use ($router) {
    require __DIR__.'/apis/check.php';
});

$router->group([
    'prefix' => 'info',
], function () use ($router) {
    require __DIR__.'/apis/info.php';
});
